<?php
// No direct access
defined('_JEXEC') or die('Restricted access');
JHtml::_('behavior.tooltip');
?>
<form action="<?php echo JRoute::_('index.php?option=com_product&layout=edit&id='.(int) $this->item->id); ?>"
      method="post" name="adminForm" id="product-form">
	<fieldset class="adminform">
		<legend><?php echo JText::_( 'COM_PRODUCT_PRODUCT_DETAILS' ); ?></legend>
		<table style="width:100%">
			<?php foreach($this->form->getFieldset() as $field): ?>
				<tr>
					<td style="width:100px; text-align: right;"><?php echo $field->label; ?></td>
					<td><?php echo $field->input; ?></td>
				</tr>
			<?php endforeach; ?>
		</table>
	</fieldset>
	<div>
		<input type="hidden" name="task" value="product.edit" />
		<?php echo JHtml::_('form.token'); ?>
	</div>
</form>